/*全局通用样式*/
@import './button.scss';
@import './element-ui-custom.scss';
@import './mixin.scss';
@import './sidebar.scss';
@import './transition.scss';
@import './color-variables.scss';


body {
  height: 100%;
  -moz-osx-font-smoothing: grayscale;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  font-family: Helvetica Neue, Helvetica, PingFang SC, Hiragino Sans GB, Microsoft YaHei, Arial, sans-serif !important;
}

/*element-ui表头全局颜色*/
.el-table th {
  background-color: #f5f8fc !important;
}

/*el-tree全局样式修改，防止宽度超过容器时不显示滚动条*/
.el-tree {
  width: 100% !important;
}
.el-tree > .el-tree-node {
  display: inline-block !important;
  min-width: 100% !important;
}

label {
  font-weight: 700 !important;
}

html {
  height: 100%;
  box-sizing: border-box;
}

#app {
  height: 100%;
}

*,
*:before,
*:after {
  box-sizing: inherit;
}

.no-padding {
  padding: 0px !important;
}

.padding-content {
  padding: 4px 0;
}

a:focus,
a:active {
  outline: none;
}

a,
a:focus,
a:hover {
  cursor: pointer;
  color: inherit;
  text-decoration: none;
}

div:focus {
  outline: none;
}

.fr {
  float: right;
}

.fl {
  float: left;
}

.pr-5 {
  padding-right: 5px;
}

.pl-5 {
  padding-left: 5px;
}

.block {
  display: block;
}

.pointer {
  cursor: pointer;
}

.inlineBlock {
  display: block;
}

/*清除父级样式继承*/
.clearfix {
  &:after {
    visibility: hidden;
    display: block;
    font-size: 0;
    content: " ";
    clear: both;
    height: 0;
  }
}

/*内容居中样式*/
.text-center {
  text-align: center
}

/*全局内容区域样式*/
.app-container {
  width: 100%;
  padding: 20px;
}


/*链接类型按钮样式*/
.link-type,
.link-type:focus {
  color: #337ab7;
  cursor: pointer;

  &:hover {
    color: rgb(32, 160, 255);
  }
}
